package me.zhengjie.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RabbitMQConfig {
    @Bean
    public Queue guardianChildrenInfoCreateQueue() {
        return new Queue("guardianChildrenInfoCreate", true); // durable
    }
    @Bean
    public Queue reviewLogCreateQueue() {
        return new Queue("reviewLogCreate", true); // durable
    }
}
